{% extends "base.html" %}
{% block title %}私信{% endblock %}
{% block head %}
<link type="text/css" rel="stylesheet" media="screen" href="/stylesheets/main.css" />
{% endblock %}
{% block content %}
<div id="conWrapper">
    <div class="message" id="postForm">
        <form name="addMessage" method="post" class="inboxTop" id="addMessage" action="">
            <div id="addressee">
                向 <select name="receiveUid" id="receiveUid">
                    <option value="">选择跟随你的推友</option>
                </select> 发送悄悄话
            </div>
            <span id="postCounter" class="postCounterTips">还可以输入<span class="numeric postCounter">140</span>字</span>
            <textarea name="status" id="status"></textarea><button class="postBtn" id="updateSubmit" type="button">发送</button>
            <span class="noface" id="lastUpdate">你只能向跟随你的人发送悄悄话 :)</span>
            <a class="inbox{% ifequal mode 'inbox' %} curt{% endifequal %}" href="/dm/inbox">收件箱</a>
            <a class="outbox{% ifequal mode 'sent' %} curt{% endifequal %}" href="/dm/sent">发件箱</a>
        </form>
    </div>
    <div id="digulistWrapper">
        <ul class="clearfix" id="digulist">
            {% for dm in dms %}
            {% include "components/dm_status.html" %}
            {% endfor %}
        </ul>
    </div>
    <div class="conBottomNav clearfix">

    </div>
</div>
{% include "components/sidebar.html" %}
{% endblock %}